package yunheadmin.login;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.util.MonthDisplayHelper;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class SuccessActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_success);
        
     Intent intent=getIntent();  
        String uid=intent.getStringExtra("uid");
        String password=intent.getStringExtra("password");
        String sex=intent.getStringExtra("sex");
        
        TextView  tv_uid=(TextView)findViewById(R.id.tv_uid);
        TextView  tv_password=(TextView)findViewById(R.id.tv_password);
        TextView  tv_sex=(TextView)findViewById(R.id.tv_sex);
    
        tv_password.setText(password);
        tv_uid.setText(uid);
        tv_sex.setText(sex);
        
    }
    
   
  
   

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}
